/**
 * @SpriteTipView.as
 *
 * @author sodaChen mail:sujun10#21cn.com
 * @version 1.0
 * <br>Copyright (C), 2012 ASFrame.com
 * <br>This program is protected by copyright laws.
 * <br>Program Name:Battle
 * <br>Date:2014-9-30
 */
package com.asframe.display.tip
{
	import flash.display.Sprite;

	/**
	 *
	 * @author sodaChen
	 * Date:2014-9-30
	 */
	public class SpriteTipView extends Sprite implements ITipView
	{
		protected var mData:*;

		public function SpriteTipView()
		{
			super();
		}

		public function setTipData(data:*):void
		{
			this.mData = data;
			onSetTipData();
		}

		protected function onSetTipData():void
		{

		}

		public function getContainer():Sprite
		{
			return this;
		}

		public function getWidth():int
		{
			return width;
		}

		public function getHeight():int
		{
			return height;
		}
	}
}